<template>
   <div class="m_right">
            <p></p>		
            
			<div class="mem_tit">
            	<span class="m_num fr" style="margin-top:15px;"><a href="Member_Add_news.jsp">添加新闻</a></span>咨询列表
            </div>
            <table border="1" class="co_tab" style="width:930px; font-size:14px; margin-top:20px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="40%" style="color:#ff4e00;text-align:center">文章标题</td>                      
                <td width="40%" style="color:#ff4e00;text-align:center">创建时间</td>
                 <td width="20%" style="color:#ff4e00;text-align:center">操作</td>
              </tr>
              <c:forEach var="c" items="${mypage.list}">
              
              <tr>
                <td width="40%" style="text-align:center"><a href="${ctx }/backend/BackendNewsServlet?opr=select&id=${c.id}">${c.title}</a> </td>                       
                <td width="40%" style="text-align:center">${c.createTime}</td>
                <td width="20%" style="text-align:center"><a href="javascript:del(${c.id})">删除</a></td>
              </tr>
              </c:forEach>  
            </table>
              <form action="${ctx }/backend/BackendNewsServlet?opr=index">
               <div class="pages">        	
                	<a href=""  class="p_pre">上一页</a>  
                	<a href="" class="p_pre" id="next">下一页</a>
                	<div class="total"> 共${mypage.totalPageCount}页，</div>
                	<div class="form2">
        			<span class="text">到第</span>
       				 <input class="input J_Input" type="number" name="currPageNo"  value="${mypage.currPageNo }" min="1" max="100" aria-label="页码输入框">
       				 <span class="text">页</span>
        			<input type="submit" class="btn J_Submit" role="button" value="确定" tabindex="0"/>
     				 </div>              	
                </div> 
               </form>   
        </div> 
</template>
<style scoped>
 .total { color: #999;margin-right: 280px; _display: inline;line-height: 37px;margin-top:-40px;font-size:14px}
    .form2{font-family: arial,'Hiragino Sans GB',"\5b8b\4f53",sans-serif;margin-top:-30px;margin-right:120px;font-size:14px}
   .btn {
    height: 21px;
    width: 43px;
    -webkit-border-radius: 2px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 2px;
    -moz-background-clip: padding;
    border-radius: 2px;
    background-clip: padding-box;
    border: solid 1px #ededed;
    text-align: center;
    line-height: 21px;
    cursor: pointer;
}
.input {

    border: solid 1px #ededed;
    height: 21px;
    text-align: center;
}
.J_Submit:hover{border-color:#FF4F02;}
    #next{margin-right:350px}
</style>

